dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d5c05e
)
Remove redundant check; this is covered in the blanket protection of the MediaWiki...
author
Rob Church
<robchurch@users.mediawiki.org>
Tue, 2 May 2006 19:24:58 +0000
(19:24 +0000)
committer
Rob Church
<robchurch@users.mediawiki.org>
Tue, 2 May 2006 19:24:58 +0000
(19:24 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
5d295a0
..
3197b46
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1011,14
+1011,6
@@
class Title {
return false;
}
- # protect global styles and js
- if ( NS_MEDIAWIKI == $this->mNamespace
- && preg_match("/\\.(css|js)$/", $this->mTextform )
- && !$wgUser->isAllowed('editinterface') ) {
- wfProfileOut( $fname );
- return false;
- }
-
# protect css/js subpages of user pages
# XXX: this might be better using restrictions
# XXX: Find a way to work around the php bug that prevents using $this->userCanEditCssJsSubpage() from working